package sculove.spring.zzz.comCd.dao;

import java.util.List;

import sculove.spring.framework.common.AbstractDao;
import sculove.spring.zzz.comCd.model.ComCdDTO;

public class ComCdDAO extends AbstractDao {

    public List<ComCdDTO> inqComCd(ComCdDTO vo) throws Exception{
        List<ComCdDTO> list = queryForList("comCd.inqComCd", vo);
        return list;
    }

    public List<ComCdDTO> inqHgrnkComCd(ComCdDTO vo) throws Exception{
        List<ComCdDTO> list = queryForList("comCd.inqHgrnkComCd", vo);
        return list;
    }

    public List<ComCdDTO> inqComCdLst() throws Exception{
        List<ComCdDTO> list = queryForList("comCd.inqComCdLst", null);
        return list;
    }
//    public PageDTO inqComCdLstPaging(ComCdDto vo) throws Exception{
//        return queryForPage("comCd.inqComCdLstPaging", vo, 1, 10);
//    }
}
